-- *****************************************************************************
-- Juniper-LOG-MIB
--
-- Juniper Networks Enterprise MIB
-- Extensions for Logging Management
--
-- Copyright (c) 1999 Redstone Communications, Inc.
-- Copyright (c) 1999, 2001 Unisphere Networks, Inc.
-- Copyright (c) 2002 Juniper Networks, Inc.
-- All Rights Reserved.
-- *****************************************************************************
Juniper-LOG-MIB DEFINITIONS::=BEGINIMPORTSMODULE-IDENTITY,NOTIFICATION-TYPE,OBJECT-TYPE,Integer32,Counter32,Unsigned32,IpAddressFROM SNMPv2-SMI
TEXTUAL-CONVENTION,DisplayString,RowStatus,TruthValue,TimeStamp,DateAndTimeFROM SNMPv2-TC
MODULE-COMPLIANCE,OBJECT-GROUP,NOTIFICATION-GROUP
FROM SNMPv2-CONF
juniMibs
FROM Juniper-MIBs
JuniLogSeverity
FROM Juniper-TC;juniLogMIB MODULE-IDENTITYLAST-UPDATED"200209162144Z"-- 16-Sep-02 05:44 PM EDTORGANIZATION"Juniper Networks, Inc."CONTACT-INFO" Juniper Networks, Inc.
Postal: 10 Technology Park Drive
Westford, MA 01886-3146
USA
Tel: +1 978 589 5800
Email: mib@Juniper.net"DESCRIPTION"The Logging Facility MIB for the Juniper Networks enterprise."-- Revision HistoryREVISION"200209162144Z"-- 16-Sep-02 05:44 PM EDT - JUNOSe 5.0DESCRIPTION"Replaced Unisphere names with Juniper names."
REVISION"200103161902Z"-- 16-Mar-01 02:02 PM EST - JUNOSe 3.0DESCRIPTION"Make it SMIv2 conformant."REVISION"200003270500Z"-- 27-Mar-00 - JUNOSe 2.0DESCRIPTION"Replace single syslog destination with table of syslog destinations,
and add syslog facility as an attribute for syslogs."REVISION"9911080000Z"-- 8-Nov-99 - JUNOSe 1.3DESCRIPTION"Initial version of this MIB module."::={ juniMibs 28}--
-- Brief Description of Logging Facility Model
--
-- A system application may support one or more logging categories. Each
-- category can be separately configured for severity and verbosity levels of
-- the logging messages it generates in reponse to category-specific events.
-- The severity level filters the generation of messages; the verbosity level
-- controls the content of each generated message. Each category is resource-
-- limited in the rate of messages it can generate, thus high event volume in
-- one category will not exhaust common resources to the extent that other log
-- categories are starved.
--
-- Generated log messages are recorded into a central circular repository,
-- called the log message table. Each such recorded message is examined and can
-- be sent to as many as three logging destinations: network-based SYSLOG
-- server; local console; and local nonvolatile log file. Each of these
-- destinations is separately configurable for severity level of messages it
-- wishes to receive.
---- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Textual conventions
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++JuniLogCatName ::=TEXTUAL-CONVENTIONDISPLAY-HINT"32a"
STATUScurrentDESCRIPTION"The name of a log category. Represents textual information taken from
the NVT ASCII character set."REFERENCE"RFC 854: NVT ASCII character set. See SNMPv2-TC.DisplayString
DESCRIPTION for a summary."SYNTAXOCTETSTRING(SIZE(1..32))JuniLogVerbosity ::=TEXTUAL-CONVENTIONSTATUScurrentDESCRIPTION"The log verbosity level. Not all event types
offer medium- or high-verbosity levels of detail."SYNTAXINTEGER{low(0),medium(1),high(2)}JuniLogSyslogFacility ::=TEXTUAL-CONVENTIONSTATUScurrentDESCRIPTION"The syslog daemon facility id."SYNTAXINTEGER{local0(0),local1(1),local2(2),local3(3),
local4(4),local5(5),local6(6),local7(7)}-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed objects
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++juniLogObjects OBJECTIDENTIFIER::={ juniLogMIB 1}juniLogDestinations OBJECTIDENTIFIER::={ juniLogObjects 1}
juniLogCategories OBJECTIDENTIFIER::={ juniLogObjects 2}juniLogMessages OBJECTIDENTIFIER::={ juniLogObjects 3}-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-- Log Destinations
-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::juniLogDestSyslog OBJECTIDENTIFIER::={ juniLogDestinations 1}juniLogDestConsole OBJECTIDENTIFIER::={ juniLogDestinations 2}juniLogDestNvFile OBJECTIDENTIFIER::={ juniLogDestinations 3}
--
-- SYSLOG server log destination
--
-- Scalar objects supporting a single syslog destination are obsoleted in favor
-- of a table of syslog destinations.
--juniLogDestSyslogSeverity OBJECT-TYPESYNTAX JuniLogSeverity
MAX-ACCESSread-writeSTATUSobsoleteDESCRIPTION"The minimum severity level of messages sent to the SYSLOG server. A
value of 'off' indicates no log messages are sent to this destination."::={ juniLogDestSyslog 1}juniLogDestSyslogAddress OBJECT-TYPESYNTAXIpAddressMAX-ACCESSread-write
STATUSobsoleteDESCRIPTION"The IP address of the SYSLOG server to which log messages are to be
sent. A value of 0.0.0.0 indicates no server address is configured."::={ juniLogDestSyslog 2}juniLogSyslogTable OBJECT-TYPESYNTAXSEQUENCEOF JuniLogSyslogEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A table describing the characteristics of each syslog destination."::={ juniLogDestSyslog 3}juniLogSyslogEntry OBJECT-TYPESYNTAX JuniLogSyslogEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An entry describingthe characteristics of a syslog destination."INDEX{ juniLogSyslogIpAddress }::={ juniLogSyslogTable 1}
JuniLogSyslogEntry ::=SEQUENCE{
juniLogSyslogIpAddress IpAddress,
juniLogSyslogRowStatus RowStatus,
juniLogSyslogSeverity JuniLogSeverity,
juniLogSyslogFacility JuniLogSyslogFacility }juniLogSyslogIpAddress OBJECT-TYPESYNTAXIpAddressMAX-ACCESSnot-accessibleSTATUScurrent
DESCRIPTION"The IP address of this syslog destination. This value must be a
unicast IP address."::={ juniLogSyslogEntry 1}juniLogSyslogRowStatus OBJECT-TYPESYNTAXRowStatusMAX-ACCESSread-createSTATUScurrentDESCRIPTION"Controls creation/deletion of entries in this table. Only
'createAndGo' and 'destroy' are supported."::={ juniLogSyslogEntry 2}juniLogSyslogSeverity OBJECT-TYPESYNTAX JuniLogSeverity
MAX-ACCESSread-createSTATUScurrent
DESCRIPTION"The severity level for this syslog destination. Setting this value to
'off' suppresses log messages from being sent to this syslog
destination."DEFVAL{ off }::={ juniLogSyslogEntry 3}juniLogSyslogFacility OBJECT-TYPESYNTAX JuniLogSyslogFacility
MAX-ACCESSread-createSTATUScurrentDESCRIPTION"The facility id attached to messages sent to this syslog destination."DEFVAL{ local7 }::={ juniLogSyslogEntry 4}--
-- Local console log destination
--juniLogDestConsoleSeverity OBJECT-TYPESYNTAX JuniLogSeverity
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The minimum severity level of messages sent to the console. A value of
'off' indicates no log messages are sent to this destination."::={ juniLogDestConsole 1}--
-- Local nonvolatile file log destination
--juniLogDestNvFileSeverity OBJECT-TYPESYNTAX JuniLogSeverity
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The minimum severity level of messages sent to the nonvolatile log
file. A value of 'off' indicates no log messages are to be sent to this
destination."::={ juniLogDestNvFile 1}-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-- Log Categories
-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::juniLogCatScalars OBJECTIDENTIFIER::={ juniLogCategories 1}-- reserved for attributes pertaining to all logs--
-- Log Category Table
--juniLogCatTable OBJECT-TYPESYNTAXSEQUENCEOF JuniLogCatEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A table describing the characteristics of each log category."
::={ juniLogCategories 2}juniLogCatEntry OBJECT-TYPESYNTAX JuniLogCatEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An entry describing the characteristics of a log category."INDEX{ juniLogCatIndex }::={ juniLogCatTable 1}
JuniLogCatEntry ::=SEQUENCE{
juniLogCatIndex Integer32,
juniLogCatName JuniLogCatName,
juniLogCatDescr DisplayString,
juniLogCatEngineering TruthValue,
juniLogCatDiscards Counter32,
juniLogCatSeverity JuniLogSeverity,
juniLogCatVerbosity JuniLogVerbosity }juniLogCatIndex OBJECT-TYPESYNTAXInteger32(1..2147483647)MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An integer index uniquely associated with a log.
Index values do not necessarily persist across system reboots.
Following reboot, mappings of (reboot-invariant) log category names to
log index values is available in the juniLogCatNameTable."::={ juniLogCatEntry 1}
juniLogCatName OBJECT-TYPESYNTAX JuniLogCatName
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The name of this log category."::={ juniLogCatEntry 2}juniLogCatDescr OBJECT-TYPESYNTAXDisplayStringMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"A description of the functionality for which events are recorded by
this log category."::={ juniLogCatEntry 3}juniLogCatEngineering OBJECT-TYPE
SYNTAXTruthValueMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"An indication of whether this log is intended mainly for engineering
development and debug purposes."::={ juniLogCatEntry 4}juniLogCatDiscards OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The number of messages generated by this log category that were
discarded because of resource limitations."::={ juniLogCatEntry 5}juniLogCatSeverity OBJECT-TYPE
SYNTAX JuniLogSeverity
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The severity level for this log category.
The value 'off' disables recording of this log category's messages. For
other severity level values, only messages at or above this severity
level will be logged in juniLogMsgTable."::={ juniLogCatEntry 6}juniLogCatVerbosity OBJECT-TYPESYNTAX JuniLogVerbosity
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The verbosity level for this log category.
Supplementary information may be available for certain event types.
This object controls whether that additional information, if available
for a given event, is recorded."::={ juniLogCatEntry 7}--
-- Log Category Name Table
--juniLogCatNameTable OBJECT-TYPESYNTAXSEQUENCEOF JuniLogCatNameEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A table mapping each log category's name to its index."::={ juniLogCategories 3}juniLogCatNameEntry OBJECT-TYPESYNTAX JuniLogCatNameEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION
"An entry mapping a log category's name to its index."INDEX{IMPLIED juniLogCatNameName }::={ juniLogCatNameTable 1}
JuniLogCatNameEntry ::=SEQUENCE{
juniLogCatNameName JuniLogCatName,
juniLogCatNameIndex Integer32}juniLogCatNameName OBJECT-TYPESYNTAX JuniLogCatName
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The name of the log category."::={ juniLogCatNameEntry 1}juniLogCatNameIndex OBJECT-TYPE
SYNTAXInteger32(1..2147483647)MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The log index associated with this log category."::={ juniLogCatNameEntry 2}-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-- Log Messages
-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
--
-- Log Message Scalars
--juniLogMsgScalars OBJECTIDENTIFIER::={ juniLogMessages 1}juniLogMsgCapacity OBJECT-TYPE
SYNTAXInteger32UNITS"messages"MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The maximum capacity, in number of log messages, of the
juniLogMsgTable."::={ juniLogMsgScalars 1}juniLogMsgLastSeqNumber OBJECT-TYPESYNTAXCounter32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The sequence number of the most recent juniLogMsgTable entry.
By monitoring this object's rate of change in relation to the
juniLogMsgTable capacity, a management client can determine whether it
is polling juniLogMsgTable frequently enough to avoid missing log
messages."::={ juniLogMsgScalars 2}--
-- Log Message Table
--juniLogMsgTable OBJECT-TYPESYNTAXSEQUENCEOF JuniLogMsgEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A table of log messages generated by this device."::={ juniLogMessages 2}juniLogMsgEntry OBJECT-TYPESYNTAX JuniLogMsgEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION
"A log message generated by this device."INDEX{ juniLogMsgSysUpTimeStamp,
juniLogMsgSequenceNumber }::={ juniLogMsgTable 1}
JuniLogMsgEntry ::=SEQUENCE{
juniLogMsgSysUpTimeStamp TimeStamp,
juniLogMsgSequenceNumber Unsigned32,
juniLogMsgCatName JuniLogCatName,
juniLogMsgCatIndex Integer32,
juniLogMsgSeverity JuniLogSeverity,
juniLogMsgText DisplayString,
juniLogMsgDateAndTimeStamp DateAndTime}juniLogMsgSysUpTimeStamp OBJECT-TYPESYNTAXTimeStamp
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"The value of sysUpTime when this log message was recorded."::={ juniLogMsgEntry 1}juniLogMsgSequenceNumber OBJECT-TYPESYNTAXUnsigned32MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A sequence number that uniquely identifies this entry. Sequence
numbers are assigned consecutively beginning with 1. More recent
entries have higher sequence numbers."::={ juniLogMsgEntry 2}juniLogMsgCatName OBJECT-TYPE
SYNTAX JuniLogCatName
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Name of the log category that contributed this message."::={ juniLogMsgEntry 3}juniLogMsgCatIndex OBJECT-TYPESYNTAXInteger32MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Index of the log category that contributed this message."::={ juniLogMsgEntry 4}juniLogMsgSeverity OBJECT-TYPESYNTAX JuniLogSeverity
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The severity of the message."::={ juniLogMsgEntry 5}juniLogMsgText OBJECT-TYPESYNTAXDisplayStringMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The text of the log message.
Truncation of log message text is indicated by n asterisk character
('*') in the last octet of a maximum-size string."::={ juniLogMsgEntry 6}juniLogMsgDateAndTimeStamp OBJECT-TYPESYNTAXDateAndTime
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The date and time this message was generated."::={ juniLogMsgEntry 7}-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notification control objects
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++juniLogTrapControl OBJECTIDENTIFIER::={ juniLogMIB 2}juniLogMsgThreshold OBJECT-TYPESYNTAXInteger32(0..100)UNITS"percent"
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"Number of log messages which, when added to juniLogMsgTable, cause a
juniLogMsgThresholdTrap to be generated.
This value is expressed as a percentage of the capacity of
juniLogMsgTable. A value of zero disables trap generation."::={ juniLogTrapControl 1}-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notifications
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- The following OBJECT IDENTIFIERS is used to define SNMPv2
-- Notifications that are easily translated into SNMPv1 Traps.juniLogTrapPrefix OBJECTIDENTIFIER::={ juniLogMIB 0}
juniLogMsgThresholdTrap NOTIFICATION-TYPEOBJECTS{
juniLogMsgCapacity,
juniLogMsgLastSeqNumber,
juniLogMsgThreshold }STATUScurrentDESCRIPTION"This trap is generated to report that an incremental number of log
messages (described by the value of juniLogMsgThreshold) have been added
to juniLogMsgTable."::={ juniLogTrapPrefix 1}-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Conformance information
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++juniLogMIBConformance OBJECTIDENTIFIER::={ juniLogMIB 4}
juniLogMIBCompliances OBJECTIDENTIFIER::={ juniLogMIBConformance 1}juniLogMIBGroups OBJECTIDENTIFIER::={ juniLogMIBConformance 2}--
-- compliance statements
--juniLogCompliance MODULE-COMPLIANCESTATUSobsoleteDESCRIPTION"Obsolete compliance statement for entities which implement the Juniper
Networks Log MIB. This statement became obsolete when support for
multiple SYSLOGs was added."MODULE-- this moduleMANDATORY-GROUPS{
juniLogGroup }
::={ juniLogMIBCompliances 1}-- JUNOSe 1.3juniLogCompliance2 MODULE-COMPLIANCESTATUScurrentDESCRIPTION"The compliance statement for entities which implement the Juniper
Networks Log MIB, including support for multiple SYSLOG destinations."MODULE-- this moduleMANDATORY-GROUPS{
juniLogGroup2,
juniLogTrapGroup }::={ juniLogMIBCompliances 2}-- JUNOSe 2.0--
-- units of conformance
--juniLogGroup OBJECT-GROUP
OBJECTS{-- log destinations
juniLogDestSyslogSeverity,
juniLogDestSyslogAddress,
juniLogDestConsoleSeverity,
juniLogDestNvFileSeverity,-- log categories
juniLogCatName,
juniLogCatDescr,
juniLogCatEngineering,
juniLogCatDiscards,
juniLogCatSeverity,
juniLogCatVerbosity,-- log category names
juniLogCatNameName,
juniLogCatNameIndex,-- log message scalars
juniLogMsgCapacity,
juniLogMsgLastSeqNumber,-- log messages
juniLogMsgCatName,
juniLogMsgCatIndex,
juniLogMsgSeverity,
juniLogMsgText,
juniLogMsgDateAndTimeStamp,-- trap control
juniLogMsgThreshold }STATUSobsoleteDESCRIPTION"Obsolete collection of objects providing management of Juniper Networks
logging capabilities. This group became obsolete when support for
multiple SYSLOGs was added."::={ juniLogMIBGroups 1}juniLogGroup2 OBJECT-GROUPOBJECTS{-- log destinations
juniLogSyslogRowStatus,
juniLogSyslogSeverity,
juniLogSyslogFacility,
juniLogDestConsoleSeverity,
juniLogDestNvFileSeverity,
-- log categories
juniLogCatName,
juniLogCatDescr,
juniLogCatEngineering,
juniLogCatDiscards,
juniLogCatSeverity,
juniLogCatVerbosity,-- log category names
juniLogCatNameName,
juniLogCatNameIndex,-- log message scalars
juniLogMsgCapacity,
juniLogMsgLastSeqNumber,-- log messages
juniLogMsgCatName,
juniLogMsgCatIndex,
juniLogMsgSeverity,
juniLogMsgText,
juniLogMsgDateAndTimeStamp,-- trap control
juniLogMsgThreshold }STATUScurrent
DESCRIPTION"A collection of objects providing management of Juniper Networks
logging capabilities, including support for multiple SYSLOG
destinations."::={ juniLogMIBGroups 2}juniLogTrapGroup NOTIFICATION-GROUPNOTIFICATIONS{
juniLogMsgThresholdTrap }STATUScurrentDESCRIPTION"A management notification pertaining to logging operations."::={ juniLogMIBGroups 3}END